/**
 * Copyright (c) 2016-2019 九点科技 All rights reserved.
 *
 * http://www.9dyun.cn
 *
 * 版权所有，侵权必究！
 */
package com.dian.modules.enums.pos;

import com.dian.common.enums.EnumMessage;
/**
 * 采购订单-订单类型枚举
 *
 * @author xiaolai
 * @email xiaolai@9dyun.cn
 * @date 2019-06-24 09:40:47
 */
public enum PurchaseHead_PurchaseTypeEnum implements EnumMessage{

    /**
     * 产品 PRODUCT 1
     */
    PRODUCT(1,"产品"),

    /**
     * 辅料 ACCES 2
     */
    ACCES(2,"辅料"); 

    private int code;
    private String desc;

    PurchaseHead_PurchaseTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public int getValue() {return code;}

    @Override
    public String getDesc() {return desc;}
}
